﻿<UserControl x:Class="infiniteMarioDotNet.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="600" d:DesignWidth="800" Loaded="UserControl_Loaded" KeyDown="LayoutRoot_KeyDown" KeyUp="LayoutRoot_KeyUp">


            <StackPanel Orientation="Vertical" VerticalAlignment="Top">
            <TextBlock FontSize="14" Margin="0,10,0,0" TextWrapping="Wrap">Click the map, then use the arrows to navigate to the first level. Then hit 'S' to select the level.</TextBlock>
            <!--<MediaElement x:Name="test" AutoPlay="False" Source="/infiniteMarioDotNet;component/Assets/sound/breakblock.wma" MediaOpened="test_MediaOpened" MediaFailed="test_MediaFailed" />
            <Button Click="Button_Click_5" Content="sound!"/>-->


                <!--<Button Content="test Animate Mario" Click="Button_Click"/>
            <Button Content="testMoveMario" Click="Button_Click_1"/>
            <Button Content="test render blackout" Click="Button_Click_2"/>
            <Button Content="test background tiles" Click="Button_Click_4"/>
            <Button Content="init art" Click="clickInitArt"/>
            <Button Content="start mario component" Click="Button_Click_3"/>-->
            
            <!--<TextBlock FontSize="14" TextWrapping="Wrap">This is the most stable, advanced build. </TextBlock>
            <Image x:Name="imgTest" Source="/infiniteMarioDotNet;component/Assets/Images/enemysheet033.png" ImageFailed="imgTest_ImageFailed" Width="16" Height="32" HorizontalAlignment="Left" />-->
                
                
            
            <!--<Button x:Name="btnFlip" Content="flip the enemy" Click="btnFlip_Click"/>-->
            <Button x:Name="btnRenderBG" Content="render background" Click="btnRenderBG_Click"/>
            <Button x:Name="btnLeft" Content="&lt;--" Click="btnLeft_Click" Visibility="Collapsed"/>
            <Button x:Name="btnRight" Content="-->" Click="btnRight_Click" Visibility="Collapsed"/>
            <Button x:Name="btnClear" Content="clearTest" Click="btnClear_Click" />

            <Button x:Name="btnStartMario" Content="start Mario" Click="btnStartMario_Click" />




            <Canvas x:Name="LayoutRoot" Background="White" KeyDown="LayoutRoot_KeyDown" KeyUp="LayoutRoot_KeyUp" 
                MouseLeftButtonDown="LayoutRoot_MouseLeftButtonDown" Height="240" Width="320" Grid.RowSpan="2"/>

        </StackPanel>
        
        
        <!--<Image Source="/infiniteMarioDotNet;component/Assets/Images/firemariosheet.png" />-->
            <!--<Image x:Name="imgTest" Source="/infiniteMarioDotNet;component/Assets/Images/enemysheet033.png" ImageFailed="imgTest_ImageFailed" />-->

    
    
</UserControl>
